<html>
<head><meta charset="utf-8"><title>enabling msvc try build · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/enabling.20msvc.20try.20build.html">enabling msvc try build</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="222599759"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/enabling%20msvc%20try%20build/near/222599759" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/enabling.20msvc.20try.20build.html#222599759">(Jan 13 2021 at 15:43)</a>:</h4>
<p>Would the following work to do a try build using msvc?</p>
<div class="codehilite" data-code-language="Diff"><pre><span></span><code><span class="gh">diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml</span>
<span class="gh">index f10b6ca7ea9..a803c5bf74b 100644</span>
<span class="gd">--- a/.github/workflows/ci.yml</span>
<span class="gi">+++ b/.github/workflows/ci.yml</span>
<span class="gu">@@ -515,9 +515,12 @@ jobs:</span>
     strategy:
       matrix:
         include:
<span class="gd">-          - name: dist-x86_64-linux</span>
<span class="gd">-            os: ubuntu-latest-xl</span>
<span class="gd">-            env: {}</span>
<span class="gi">+          - name: dist-x86_64-msvc</span>
<span class="gi">+            os: windows-latest-xl</span>
<span class="gi">+            env:</span>
<span class="gi">+              RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler"</span>
<span class="gi">+              SCRIPT: python x.py dist</span>
<span class="gi">+              DIST_REQUIRE_ALL_TOOLS: 1</span>
     timeout-minutes: 600
     runs-on: "${{ matrix.os }}"
     steps:
</code></pre></div>



<a name="222599819"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/enabling%20msvc%20try%20build/near/222599819" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/enabling.20msvc.20try.20build.html#222599819">(Jan 13 2021 at 15:43)</a>:</h4>
<p>if it's just a copy-paste from the auto build then yes!</p>



<a name="222600206"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/enabling%20msvc%20try%20build/near/222600206" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/enabling.20msvc.20try.20build.html#222600206">(Jan 13 2021 at 15:45)</a>:</h4>
<p>I've tried to use YAML anchors so that it's easier to "copy paste" <span aria-label="wink" class="emoji emoji-1f609" role="img" title="wink">:wink:</span></p>



<a name="222600757"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/enabling%20msvc%20try%20build/near/222600757" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/enabling.20msvc.20try.20build.html#222600757">(Jan 13 2021 at 15:48)</a>:</h4>
<p><span class="user-mention silent" data-user-id="121055">Pietro Albini</span> <a href="#narrow/stream/242791-t-infra/topic/enabling.20msvc.20try.20build/near/222599819">said</a>:</p>
<blockquote>
<p>if it's just a copy-paste from the auto build then yes!</p>
</blockquote>
<p>yes, thanks</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>